package com.sy.module_money_management

import org.junit.Test

import java.io.File

/**
 * Example local unit test, which will execute on the development machine (host).
 *
 * See [testing documentation](http://d.android.com/tools/testing).
 */
class ExampleUnitTest {
    @Test
    fun addition_isCorrect() {
        val files = File("C:\\Users\\86157\\Downloads\\test")
        files?.listFiles()?.forEach {
            val newFile = File(it.parent,"module_clockin_${it.name}")
            it.renameTo(newFile)
            println("新文件名：${newFile.absolutePath}")
        }
//        assertEquals(4, 2 + 2)
    }
}